package com.woniuxy.cloud.carl.marketing.service;

import com.woniuxy.cloud.carl.marketing.client.param.AddAdParam;
import com.woniuxy.cloud.carl.marketing.client.param.DelAdParam;
import com.woniuxy.cloud.carl.marketing.client.param.GetAdParam;
import com.woniuxy.cloud.carl.marketing.client.result.AdvertisementDto;
import com.woniuxy.cloud.carl.marketing.infra.model.Advertisement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.result.Result;

import java.util.List;

/**
 * <p>
 * 广告 服务类
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
public interface AdvertisementService extends IService<Advertisement> {
    Result addAd(AddAdParam param);
    Result delAd(DelAdParam param);
    Result<List<AdvertisementDto>> getAd(GetAdParam param);
}
